SftTree/OCX 7.0

SftTree.ColumnPictureAlign Property

Softel vdm, Inc.

Defines the position of the graphic displayed in the specified column header.

Deprecated - Provided for compatibility with earlier versions only - Use Header.ImageHAlign and Header.ImageVAlign instead

Syntax       

Get

VB.NET

Align = object.get_ColumnPictureAlign(ByVal ColIndex As Short)  As SftTreeAlignConstants

VB

Align = object.ColumnPictureAlign(ByVal ColIndex As Integer)  As SftTreeAlignConstants

C#.NET

SftTreeAlignConstants Align = object.get_ColumnPictureAlign(short ColIndex);

VC++

enum SftTreeAlignConstants Align = object->ColumnPictureAlign[short ColIndex];
enum SftTreeAlignConstants Align = object->GetColumnPictureAlign(short ColIndex);

C

HRESULT object->get_ColumnPictureAlign(short ColIndex, enum SftTreeAlignConstants* Align);

Delphi

Align := object.ColumnPictureAlign[ColIndex : Smallint]  : TOleEnum;

Put

VB.NET

object.set_ColumnPictureAlign(ByVal ColIndex As Short, ByVal Align As SftTreeAlignConstants)

VB

object.ColumnPictureAlign(ByVal ColIndex As Integer) = Align  As SftTreeAlignConstants

C#.NET

void object.set_ColumnPictureAlign(short ColIndex, SftTreeAlignConstants Align);

VC++

enum SftTreeAlignConstants object->ColumnPictureAlign[short ColIndex] = Align;
void object->PutColumnPictureAlign(short ColIndex, enum SftTreeAlignConstants Align);

C

HRESULT object->put_ColumnPictureAlign(short ColIndex, enum SftTreeAlignConstants Align);

Delphi

object.ColumnPictureAlign[ColIndex : Smallint] := Align  : TOleEnum;

object

A SftTree object.

ColIndex

The zero-based column number.

Align

Defines the position of the graphic displayed in the specified column header.

One value of each of the following tables can be combined and used as Align value:

Horizontal Alignment

Value

Description

alignSftTreeLeft 

0

The graphic is on the left of the column header text. If no horizontal alignment value is specified, this is the default.

alignSftTreeCenter

1

The graphic is centered in the column header. The column header text is not displayed.

alignSftTreeRight 

2

The graphic is on the right of the column header text.

Vertical Alignment

Value

Description

alignSftTreeVCenter

16

The graphic is vertically centered. If no vertical alignment value is specified, this is the default.

alignSftTreeTop

32

The graphic is aligned with the top of the available area.

alignSftTreeBottom

64

The graphic is aligned with the bottom of the available area.

Comments

Deprecated - Provided for compatibility with earlier versions only - Use Header.ImageHAlign and Header.ImageVAlign instead

The ColumnPictureAlign property defines the position of the graphic displayed in the specified column header.

The column header graphic is defined using the Header.Image property.

See Also  SftTree Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com